import instance from './instance'

//查询所以数据
export const getRoomList = () => instance.get('/room/findAllRoom')

//删除数据
export const deleteRoom = (id) => instance.get("/room/deleteRoom?id="+id)

//修改数据
export const updateRoom = (data) => instance.post('/room/updateRoom',data)

//添加数据
export const addRoom = (data) => instance.post('/room/addRoom',data)

//多条件查询
export const findRoom = (data) => instance.post('/room/findRoom',data)
